﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XinjeMesProgram.Entities.RoleAndUser
{
    public class PubRoleDataModel
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        [Column(TypeName = "varchar(64)")]
        public string ID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string RoleId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(1)")]
        public string DeleteFlag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "datetime")]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(64)")]
        public string CreateBy { get; set; }
    }
}
